﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Icst.Leaflike.Data
{
    [MetadataType(typeof(tree_meta))]
    [DisplayName("树")]
    [Serializable]
    public partial class tree { }
    public class tree_meta
    {
        [DisplayName("编号")]
        public object tree_no { get; set; }
        [DisplayName("名称")]
        public object tree_name { get; set; }
        [DisplayName("拉丁名")]
        public object latin_name { get; set; }
        [DisplayName("统称-1")]
        public object class_name_1 { get; set; }
        [DisplayName("统称-2")]
        public object class_name_2 { get; set; }
        [DisplayName("统称-3")]
        public object class_name_3 { get; set; }
        [DisplayName("俗名-1")]
        public object conv_name_1 { get; set; }
        [DisplayName("俗名-2")]
        public object conv_name_2 { get; set; }
        [DisplayName("俗名-3")]
        public object conv_name_3 { get; set; }
        [DisplayName("俗名-4")]
        public object conv_name_4 { get; set; }
        [DisplayName("俗名-5")]
        public object conv_name_5 { get; set; }
        [DisplayName("俗名-6")]
        public object conv_name_6 { get; set; }
        [DisplayName("俗名-7")]
        public object conv_name_7 { get; set; }
        [DisplayName("俗名-8")]
        public object conv_name_8 { get; set; }
        [DisplayName("俗名-9")]
        public object conv_name_9 { get; set; }
        [DisplayName("俗名-10")]
        public object conv_name_10 { get; set; }
        [DisplayName("俗名-11")]
        public object conv_name_11 { get; set; }
        [DisplayName("俗名-12")]
        public object conv_name_12 { get; set; }
        [DisplayName("俗名-13")]
        public object conv_name_13 { get; set; }
        [DisplayName("俗名-14")]
        public object conv_name_14 { get; set; }
        [DisplayName("俗名-15")]
        public object conv_name_15 { get; set; }
        [DisplayName("简介")]
        public object description { get; set; }
        [DisplayName("图像")]
        [DataType("Tree")]
        public object imagelink { get; set; }

        [DisplayName("用途等")]
        public object tree_uses { get; set; }
        [DisplayName("归属")]
        public object tree_categories { get; set; }
        [DisplayName("定义")]
        public object tree_concepts { get; set; }
        [DisplayName("扩展定义")]
        public object tree_concept_exts { get; set; }
        [DisplayName("派生树")]
        public object tree_derives { get; set; }
        [DisplayName("外部链接")]
        public object tree_links { get; set; }
    }

    [MetadataType(typeof(tree_concept_meta))]
    [DisplayName("树定义")]
    [Serializable]
    public partial class tree_concept { }
    public class tree_concept_meta
    {
        [DisplayName("树编号")]
        public object tree_no { get; set; }
        [DisplayName("树形-1")]
        public object shuxing1 { get; set; }
        [DisplayName("树形-2")]
        public object shuxing2 { get; set; }
        [DisplayName("树形-3")]
        public object shuxing3 { get; set; }
        [DisplayName("叶序-1")]
        public object yexu1 { get; set; }
        [DisplayName("叶序-2")]
        public object yexu2 { get; set; }
        [DisplayName("叶形-1")]
        public object yexing1 { get; set; }
        [DisplayName("叶形-2")]
        public object yexing2 { get; set; }
        [DisplayName("叶形-3")]
        public object yexing3 { get; set; }
        [DisplayName("叶形-4")]
        public object yexing4 { get; set; }
        [DisplayName("叶形-5")]
        public object yexing5 { get; set; }
        [DisplayName("叶缘-1")]
        public object yeyuan1 { get; set; }
        [DisplayName("叶缘-2")]
        public object yeyuan2 { get; set; }
        [DisplayName("叶尖-1")]
        public object yejian1 { get; set; }
        [DisplayName("叶尖-2")]
        public object yejian2 { get; set; }
        [DisplayName("叶基-1")]
        public object yeji1 { get; set; }
        [DisplayName("叶基-2")]
        public object yeji2 { get; set; }
        [DisplayName("叶基-3")]
        public object yeji3 { get; set; }
        [DisplayName("叶基-4")]
        public object yeji4 { get; set; }
        [DisplayName("叶基-5")]
        public object yeji5 { get; set; }
        [DisplayName("花形-1")]
        public object huaxing1 { get; set; }
        [DisplayName("花形-2")]
        public object huaxing2 { get; set; }
        [DisplayName("果实-1")]
        public object guoshi1 { get; set; }
        [DisplayName("果实-2")]
        public object guoshi2 { get; set; }
        [DisplayName("树皮-1")]
        public object shupi1 { get; set; }
        [DisplayName("树皮-2")]
        public object shupi2 { get; set; }
        [DisplayName("单复叶")]
        public object danfuye { get; set; }
        [DisplayName("果实颜色")]
        public object guoshiyanse { get; set; }
        [DisplayName("花期")]
        public object huaqi { get; set; }
        [DisplayName("高度")]
        public object gaodu { get; set; }
        [DisplayName("树干颜色")]
        public object shuganyanse { get; set; }
    }

    [MetadataType(typeof(tree_attr_type_meta))]
    [DisplayName("属性类型")]
    [Serializable]
    public partial class tree_attr_type { }
    public class tree_attr_type_meta
    {
        [DisplayName("编号")]
        public object type_no { get; set; }
        [DisplayName("名称")]
        public object type_name { get; set; }
        [DisplayName("描述")]
        public object description { get; set; }

        [DisplayName("树基本属性")]
        public object tree_attrs { get; set; }
        [DisplayName("树扩展属性")]
        public object tree_concept_exts { get; set; }
        [DisplayName("派生树属性")]
        public object tree_derive_concepts { get; set; }
    }

    [MetadataType(typeof(tree_attr_meta))]
    [DisplayName("基本属性")]
    [Serializable]
    public partial class tree_attr { }
    public class tree_attr_meta
    {
        [DisplayName("编号")]
        public object attr_no { get; set; }
        [DisplayName("属性值")]
        public object attr_value { get; set; }
        [DisplayName("类型编号")]
        public object type_no { get; set; }
        [DisplayName("描述")]
        public object description { get; set; }
        [DisplayName("图像")]
        [DataType("Image")]
        public object imagelink { get; set; }
        [DisplayName("大众版")]
        public object pub { get; set; }
        [DisplayName("专业版")]
        public object pro { get; set; }
    }

    [MetadataType(typeof(tree_concept_ext_meta))]
    [DisplayName("树扩展定义")]
    [Serializable]
    public partial class tree_concept_ext { }
    public partial class tree_concept_ext_meta
    {
        [DisplayName("树编号")]
        public object tree_no { get; set; }
        [DisplayName("属性编号")]
        public object type_no { get; set; }
        [DisplayName("属性值")]
        public object attr_value { get; set; }
    }

    [MetadataType(typeof(tree_category_meta))]
    [DisplayName("树的归属")]
    [Serializable]
    public partial class tree_category { }
    public class tree_category_meta
    {
        [DisplayName("树编号")]
        public object tree_no { get; set; }
        [DisplayName("同属物")]
        public object sibling_tree_name { get; set; }
        [DisplayName("共生植物")]
        public object symbiosis { get; set; }
        [DisplayName("属")]
        public object genus_id { get; set; }
        [DisplayName("科")]
        public object family_id { get; set; }
        [DisplayName("纲")]
        public object class_id { get; set; }
        [DisplayName("门")]
        public object phylum_id { get; set; }
    }

    [MetadataType(typeof(tree_use_meta))]
    [DisplayName("树的用途等")]
    [Serializable]
    public partial class tree_use { }
    public class tree_use_meta
    {
        [DisplayName("树编号")]
        public object tree_no { get; set; }
        [DisplayName("园林用途	")]
        public object use_garden { get; set; }
        [DisplayName("药用价值	")]
        public object use_med { get; set; }
        [DisplayName("经济用途	")]
        public object use_eco { get; set; }
        [DisplayName("改善空气	")]
        public object use_air { get; set; }
        [DisplayName("其他功用	")]
        public object use_other { get; set; }
        [DisplayName("生长过程	")]
        public object eco_lifecycle { get; set; }
        [DisplayName("生长环境	")]
        public object eco_environment { get; set; }
        [DisplayName("生长习性	")]
        public object eco_habit { get; set; }
        [DisplayName("繁殖方法	")]
        public object plant_propagate { get; set; }
        [DisplayName("浇水")]
        public object plant_water { get; set; }
        [DisplayName("施肥")]
        public object plant_fertilize { get; set; }
        [DisplayName("常见病防治")]
        public object plant_illness_pro { get; set; }
        [DisplayName("病虫害防治")]
        public object plant_insect_pro { get; set; }
        [DisplayName("象征意义")]
        public object culture_symbol { get; set; }
        [DisplayName("神话传说")]
        public object culture_legend { get; set; }
        [DisplayName("重要典故")]
        public object culture_classic { get; set; }
    }

    [MetadataType(typeof(tree_link_meta))]
    [DisplayName("外部链接")]
    [Serializable]
    public partial class tree_link { }
    public class tree_link_meta
    {
        [DisplayName("树编号")]
        public object tree_no { get; set; }
        [DisplayName("链接名称")]
        public object link_name { get; set; }
        [DisplayName("链接地址")]
        public object link_url { get; set; }
    }

    [MetadataType(typeof(tree_derive_meta))]
    [DisplayName("派生树")]
    [Serializable]
    public partial class tree_derive { }
    public class tree_derive_meta
    {
        [DisplayName("名称")]
        public object tree_name { get; set; }
        [DisplayName("父树种")]
        public object parent_tree_no { get; set; }
        [DisplayName("描述")]
        public object description { get; set; }
    }

    [MetadataType(typeof(tree_derive_concept_meta))]
    [DisplayName("派生树定义")]
    [Serializable]
    public partial class tree_derive_concept { }
    public class tree_derive_concept_meta
    {
        [DisplayName("派生树编号")]
        public object derive_no { get; set; }
        [DisplayName("属性类型")]
        public object type_no { get; set; }
        [DisplayName("属性值")]
        public object attr_value { get; set; }
    }

    [MetadataType(typeof(tree_gather_meta))]
    [DisplayName("收集的树种")]
    [Serializable]
    public partial class tree_gather { }
    public class tree_gather_meta
    {
        [DisplayName("收集人")]
        public object uid { get; set; }
        [DisplayName("图像链接")]
        public object image_link { get; set; }
        [DisplayName("采集地点")]
        public object site { get; set; }
        [DisplayName("名称")]
        public object title { get; set; }
        [DisplayName("采集时间")]
        public object created { get; set; }
        [DisplayName("描述")]
        public object description { get; set; }
    }

    [MetadataType(typeof(sys_setting_meta))]
    [DisplayName("系统参数")]
    [Serializable]
    public partial class sys_setting { }
    public class sys_setting_meta
    {
        [DisplayName("标识")]
        public object setting_id { get; set; }
        [DisplayName("参数名称")]
        public object name { get; set; }
        [DisplayName("参数值")]
        public object value { get; set; }
    }

    [MetadataType(typeof(sys_book_meta))]
    [DisplayName("推荐书籍")]
    [Serializable]
    public partial class sys_book { }
    public class sys_book_meta
    {
        [DisplayName("标识")]
        public object book_id { get; set; }
        [DisplayName("书名")]
        public object name { get; set; }
        [DisplayName("作者")]
        public object author { get; set; }
        [DisplayName("出版社")]
        public object publisher { get; set; }
        [DisplayName("出版日期")]
        [DataType("DateTime")]
        public object pub_date { get; set; }
        [DisplayName("ISBN")]
        public object isbn { get; set; }
        [DisplayName("简介")]
        [DataType("Text")]
        public object description { get; set; }
        [DisplayName("封面图片")]
        [DataType("Book")]
        public object cover_image { get; set; }
        [DisplayName("链接-1")]
        public object book_link1 { get; set; }
        [DisplayName("链接-2")]
        public object book_link2 { get; set; }
        [DisplayName("链接-3")]
        public object book_link3 { get; set; }
    }
}
